package com.leyou;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication//(scanBasePackages = {"com.leyou.search", "com.leyou.common.advice"})
@EnableFeignClients//(basePackages = "com.leyou.search.client")开启feign
public class LySearchApplication {

    public static void main(String[] args) {

        SpringApplication.run(LySearchApplication.class);
        System.out.println("LySearch启动了");
    }
}
